{% extends 'blog/base.html' %}
{% load blog_tags %}

{% block extra_nav %}
  {% if prev_link %}
    <li class="{{ prev_link.cssClass }}"><a href="{{ prev_link.url}}" title ="Previous">{{ prev_link.label }}</a></li>
  {% endif %}
  {% if next_link %}
    <li class="{{ next_link.cssClass }}"><a href="{{ next_link.url}}" title ="Previous">{{ next_link.label }}</a></li>
  {% endif %}
{% endblock %}

{% block sidebar_ext1 %}

  <div id="calendar" class="sidebox">
    <h2><a href="{{calendar.get_absolute_url}}">{{ calendar.month|date:"F" }}</a></h2>
    {% render_calendar %}
  </div>

  <div class="sidebox">
    <h2>Monthly Archives</h2>
    <ul class="linklist">
    {% for month in archive_dates %}
      <li><a href="{% month_archive_url month category %}">{{ month|date:"F, Y" }}</a></li>
    {% endfor %}
    </ul>
  </div>

  <div class="sidebox">
    <h2>Category Archives</h2>
    <ul class="linklist">
    {% for cat in categories %}
      <li><a href="/blog/{{ cat.name }}/index.html">{{ cat.description }}</a></li>
    {% endfor %}
    </ul>
  </div>

{% endblock %}

{% comment %} 
vim:sts=2 sw=2 ts=2: 
{% endcomment %}
